import { MenusData } from '#types/menus'
export interface loginData {
  loginName: string
  password: string
}

interface userInfo {
  loginName: string
  password: string
  roleId: string
  userId: string
  userName: string
}

export interface loginResult {
  user: userInfo
  token: string
  menus: MenusData[]
}

export interface formData extends loginData {
  userName: string
  checkword?: string
}

export enum labelPositionType {
  right = 'right',
  left = 'left',
  top = 'top'
}